<?php


	$regex_ip_src = array('/( : (?:[0-9]{1,3}\.){3}[0-9]{1,3}<br>){2,}/','/(^ : (?:[0-9]{1,3}\.){3}[0-9]{1,3}<br>)/');
	$regex_ip_dst = array('/<br> : (?:[0-9]{1,3}\.){3}[0-9]{1,3}/','/ : <br>$/', '/ : <br>/','/ : $/','/<br> : /');
	$regex_port = '/<br><br>/';

	$vide = ' ';
	$src_nets = preg_replace($regex_ip_src,$vide,$row["src_nets"]);
	$dst_nets = preg_replace($regex_ip_dst,$vide,$row["dst_nets"]);
	$dst_ports = preg_replace($regex_port,$vide,$row["dst_ports"]);


?>